<div id="receiveBox">
    <div class="panel">
        <div class="panel-heading">
            <!--<b class="pull-left">收件箱</b>-->
            <div class="clearfix">
                <!--左边三个按钮-->
                <div class="btn-group pull-left">
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <span class="icon icon-reorder"></span>
                    </button>
                    <ul class="dropdown-menu">
                        <li ng-click="selectAll()">全选</li>
                        <li ng-click="selectUnread()">未读</li>
                        <li ng-click="selectRead()">已读</li>
                    </ul>    
                </div>
                <div class="btn-group pull-left">
                    <button type="button" class="btn btn-default dropdown-toggle" ng-click="delMail()" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    删&nbsp;除
                    </button> 
                </div>
                <div class="btn-group pull-left">
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    刷&nbsp;新
                    </button>
                </div>
                <!--右边的搜索框-->
                <div class="searchBox input-group pull-right">
                    <input class="form-control" placeholder="查找邮件" type="text" name="" value="">
                    <span class="input-group-addon" onclick="searchEmail()"><i class="icon icon-search"></i></span>
                </div>
            </div>
            
            <!--有5封未读-->
            <p class="unread-email">有&nbsp;5&nbsp;封未读</p>
        </div>
        <div class="panel-body">
            <ul class="emailItem">
                <li ng-repeat="item in mailsData">
                    <input type="checkbox" ng-model="emailItem"  value="{{item.id}}" ng-checked="emailChecked"  ng-click="select(item.id,$event)">
                    <a class="receive-img" ui-sref="notice.receiveEmailDetail({id:item.id})">
                        <span class="sender-name">{{item.senderName}}</span>
                        <span>{{item.title}}</span>
                        <span class="pull-right">{{item.createTime}}</span>
                    </a>
                </li>
            </ul>
            <!--</div>-->
            <div class="paginationBox" >
                <uib-pagination
                    total-items="totalItems"
                    ng-model="currentPage"
                    ng-change="pageChange()"
                    max-size="maxSize" 
                    first-text="第一页" 
                    previous-text="上一页" 
                    next-text="下一页" 
                    last-text="最后一页" 
                    boundary-links="true" 
                    boundary-link-numbers="true">
                </uib-pagination>
            </div>     
        </div>
    </div>
</div>